package com.zfast.forge.pojo.dto;

import com.zfast.config.valid.Create;
import javax.validation.constraints.NotNull;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;


/**
 * 球技:客观性
 *
 * @author zgn
 * @email
 * @date 2024-02-06 13:48:47
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "bad_skill")
@ApiModel(value = "Skill", description = "球技:客观性;被动掌握")
public class Skill implements Serializable{
    private static final long serialVersionUID=1L;

    @Id
    @Column(name = "id")
    @ApiModelProperty("主键")
    @NotNull(message = "主键不可为空", groups = {Create.class})
    private String id;

    @Column(name = "name")
    @ApiModelProperty("技巧名称")
    private String name;

    @Column(name = "del_flag")
    @ApiModelProperty("删除标志0-正常,1-已删除")
    private Boolean delFlag;

    @Column(name = "x")
    @ApiModelProperty("向量x")
    private Double x;

    @Column(name = "y")
    @ApiModelProperty("向量y")
    private Double y;

    @Column(name = "z")
    @ApiModelProperty("向量z")
    private Double z;

    @Column(name = "v")
    @ApiModelProperty("速度")
    private Double v;

    @Column(name = "surface")
    @ApiModelProperty("预计落点区域(1:y1,2:y2,3:y3)")
    private Integer surface;

    @Column(name = "height")
    @ApiModelProperty("预计落点高度")
    private Double height;

    @Column(name = "surface_send")
    @ApiModelProperty("回击区域(1:y1,2:y2,3:y3)")
    private Integer surfaceSend;

    @Column(name = "target")
    @ApiModelProperty("战术目的")
    private String target;

    @Transient
    @ApiModelProperty("模糊查询字段")
    private String whe;
}
